package com.wzxy.pf.sys.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.wzxy.pf.sys.entity.User;
import com.wzxy.pf.sys.mapper.SysMapper;
import com.wzxy.pf.sys.service.SysService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;




@Service
public class SysServiceImpl extends ServiceImpl<SysMapper, User> implements SysService {
@Autowired
private SysMapper sysMapper;

    @Override
    public boolean updateUsermessage(User user) {
    return this.sysMapper.updateUsermessage(user);
    }

    @Override
    public boolean updatePassword(User user) {
        return this.sysMapper.updatePassword(user);
    }

    @Override
    public String findPasswordById(User user) {
       return this.sysMapper.findPasswordById(user);
    }

}
